﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Prm.System.Dto
{
    public class GetSubstanceInPut : IInputDto, IPagedResultRequest, ISortedResultRequest
    {
        public string cas { get; set; }
        public string cnName { get; set; }
        public string enName { get; set; }



        [Range(1, AppConsts.MaxPageSize)]
        public int MaxResultCount { get; set; }

        [Range(0, int.MaxValue)]
        public int SkipCount { get; set; }

        public string Sorting { get; set; }

        public GetSubstanceInPut()
        {
            MaxResultCount = AppConsts.DefaultPageSize;
        }
    }
}
